Specification Structuring

نویسنده

  • Jayadev Misra
چکیده

Programs that accept inputs, compute and produce outputs are specified by describing all possible inputs and the corresponding outputs. When the possible inputs are finite in number—as is the case with combinatorial circuits, for instance—the input,output pairs may be explicitly enumerated. However, for most programs it is convenient to describe input,output by logical propositions such as a precondition-postcondition pair, or the weakest precondition. In this paper, we are interested in systems that typically run forever, responding to changes in some of their input variables by changing their internal states and/or some of their output variables. Example of such a system is a feedback controller that responds to a sensor reading by adjusting the valve opening, or a display program that responds to a keystroke by echoing the appropriate character on the screen. Such systems, called reactive by Amir Pnueli, are ubiquitous in all modern computer and communication systems. They cannot be specified merely by their input-output pairs, because input may be provided and output extracted on a continuing basis. Furthermore, these systems typically exhibit a high level of nondeterminism because the system may respond to inputs from many sources in an apriori undetermined order: A telephone switch that is connected to a number of users serves them in a seemingly random order. We are interested in specifications of such systems for all the traditional reasons: We expect a specification to be a contract between the user and the implementer; the user may assume nothing more than what has been specified explicitly and the implementer must satisfy the specification through his implementation. This allows the user programs to change as long as they all obey the protocol set forth in the specification; similarly the implementation may change as long as it is faithful to the specification. We view specification not merely as a legal contract but additionally as a means (1) to deduce new properties (of the “module” being specified), (2) to deduce properties of a system in which the given module is a component, and (3) to implement the module by stepwise refinements of its specification. Therefore, we require that a specification not merely be formal but also be in a form that admits of effective manipulation. This requirement rules out specification schemes in which program fragments (in some high level language) appear as part of specifications; typically, such program fragments cannot be manipulated effectively. A specification of a large system will typically be large. Therefore, in the best traditions of software engineering, we have to structure the specification. Methodologies for program structuring have evolved over the years; now, we know that a program may be decomposed into modules based

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Some Elements of Z Specification Style: Structuring Techniques

This article investigates the issue of structuring Z specifications. It uses examples from a large specification (the production cell) to examine both conventions for using Z and notational extensions, including Object-Z. Because of the importance of good structure within a specification, specifiers need to be aware of a range of structuring techniques and understand where each is applicable.

متن کامل

Heterogeneously Structured Ontologies Integration, Connection, and Refinement

This paper systematically applies tools and techniques from the area of algebraic specification theory to corresponding ontology structuring and design tasks. We employ the heterogeneous structuring mechanisms of the heterogeneous algebraic specification language HetCasl for defining an abstract notion of structured heterogeneous ontology. This approach enables the designer to split up a hetero...

متن کامل

KORRIGAN: a Formalism and a Method for the Structured and Mixed Formal Specification of Components

We focus on the specification of mixed systems i.e. that contain static and dynamic aspects. Our approach aims at keeping advantage of the languages dedicated to both aspects (algebraic specifications for data types, and state transition diagrams for dynamic behaviours) while providing an underlying unifying framework accompanied by an appropriate semantic model. This underlying framework is ba...

متن کامل

On the existence of translations of structured specifications

We provide a set of sufficient conditions for the existence of translations of structured specifications across specification formalisms. The most basic condition is the existence of a translation between the logical systems underlying the specification formalisms, which corresponds to the unstructured situation. Our approach is based upon institution theory and especially upon a recent abstrac...

متن کامل

The OWL in the CASL - Designing Ontologies Across Logics

In this paper, we show how the web ontology language OWL can be accommodated within the larger framework of the heterogeneous common algebraic specification language HETCASL. Through this change in perspective, OWL can benefit from various useful HETCASL features concerning structuring, modularity, and heterogeneity. This tackles a major problem area in ontology engineering: re-use of ontologie...

متن کامل

Tools for LOTOS Specification Style Transformation

Specification styles are an approach for structuring the design process of distributed systems. For different phases of the design process different specification styles are employed. In this paper we study tools that support the design process through support for specification style transformation. Tools were made for a subset of LOTOS.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003